import plus from './plus'
import icon from './icon'
import type { App } from 'vue'


//全局注册
export const registerElementPlus = (app: App) => {
   app.use(plus)
   app.use(icon)
    
}
//对象写法(里面包含一个属性install)
// export default {
//     install: (app: App) => {
//         app.use(ElementPlus)
//     }
// }

